<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>倔银</title>
    <style>
      * {
        margin: 0;
        padding: 0;
      }
      ul,
      li {
        list-style: none;
      }
      html,
      body {
        overflow: hidden;
        height: 100%;
        background-color: #f2f3f5;
      }

      .header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 60px;
        background-color: #fff;
        display: flex;
        justify-content: center;
      }
      .header-main {
        max-width: 1400px;
        display: flex;
        justify-content: space-between;
        align-items: center;
      }
      .header-main h1 {
        font-size: 20px;
      }
      .header-main ul {
        display: flex;
        margin: 0 20px;
      }
      .header-main li {
        color: #1e80ff;
        font-weight: 500;
        margin: 0 10px;
        cursor: pointer;
        font-size: 14px;
      }

      .header-main input {
        width: 220px;
        height: 30px;
        outline: none;
        padding-left: 10px;
      }

      .header-add-btn {
        padding: 5px 20px;
        height: 32px;
        color: #fff;
        background-color: #1e80ff;
        border-radius: 3px;
        border: none;
        outline: none;
        margin: 0 20px;
      }

      .header-btn-wrap {
        color: #007fff;
        padding: 5px 10px;
        background-color: rgba(30, 128, 255, 0.05);
        border: 1px solid #007fff;
        border-radius: 3px;
      }

      .header-btn-wrap button {
        border: none;
        background-color: transparent;
        color: #007fff;
        font-size: 14px;
      }

      .header-btn-wrap .login-btn {
        border-right: 1px solid #007fff;
        padding-right: 8px;
        margin-right: 2px;
      }

      .container {
        display: flex;
        justify-content: center;
        margin-top: 80px;
        width: 100%;
      }

      .main {
        flex: 1;
        display: flex;
        max-width: 1200px;
      }

      .left,
      .center,
      .right {
        background-color: #fff;
        height: 500px;
        text-align: center;
      }

      .left {
        width: 180px;
      }

      .center {
        flex: 1;
        margin: 0 20px;
      }

      .right {
        width: 180px;
      }

      @media screen and (max-width: 1150px) {
        .left {
          display: none;
        }
        .header-main ul {
          display: none;
        }
      }

      @media screen and (max-width: 950px) {
        .right,
        .header-add-btn {
          display: none;
        }
      }
    </style>
  </head>
  <body>
    <header class="header">
      <div class="header-main">
        <h1>倔银</h1>
        <ul>
          <li>首页</li>
          <li>沸点</li>
          <li>课程</li>
          <li>直播</li>
          <li>活动</li>
          <li>竞赛</li>
          <li>商城</li>
          <li>App</li>
          <li>插件</li>
        </ul>
        <input type="text" placeholder="搜索文章" />
        <button class="header-add-btn">创作者中心</button>
        <div class="header-btn-wrap">
          <button class="login-btn">登录</button>
          <button>注册</button>
        </div>
      </div>
    </header>

    <div class="container">
      <main class="main">
        <div class="left">left</div>
        <div class="center">center</div>
        <div class="right">right</div>
      </main>
    </div>
  </body>
</html>
